package com.sikaryofficial.backend.domain.dto.req.store;

import com.sikaryofficial.system.api.model.att.AttachmentResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author : wuweihong
 * @desc : 评论发布入参
 * @date : 2025-08-21
 */

@ApiModel(description = "评论发布入参")
@Getter
@Setter
public class StoreCommentSaveReq implements Serializable {

	/**
	 * 店铺id
	 */
	@ApiModelProperty("店铺id")
	@NotNull(message = "storeId is required")
	private Long storeId;

	/**
	 * 评论内容
	 */
	@ApiModelProperty("评论内容")
	@NotNull(message = "evaluateContent is required")
	@Length(max = 1000, message = "evaluateContent could not greater than 1000")
	private String evaluateContent;

	/**
	 * 评分(小数)
	 */
	@ApiModelProperty("评分(小数)")
	@NotNull(message = "compositeScore is required")
	private BigDecimal compositeScore;
	/**
	 * 附件列表
	 */
	@ApiModelProperty("附件列表")
	private List<AttachmentResp> attachmentList;
}
